how does the butterfly effect work